import request from '@/utils/request.js'

// 场馆列表
export function venueList(query) {
    return request({
        url: '/pc/venue/list',
        method: 'post',
        data: query
    })
}

// 场馆类型
export function venueCategory(query) {
    return request({
        url: '/pc/venue/category',
        method: 'get',
        data: query
    })
}

// 获取区域
export function venueCity(query) {
    return request({
        url: '/pc/venue/city',
        method: 'get',
        data: query
    })
}

// 场馆详情
export function venueDetail(query) {
    return request({
        url: '/pc/venue/detail',
        method: 'post',
        data: query
    })
}

// 场地详情
export function venueSite(query) {
    return request({
        url: '/pc/venue/site',
        method: 'post',
        data: query
    })
}

// 场馆报名
export function venueApplication(query) {
    return request({
        url: '/api/venue/application',
        method: 'post',
        data: query
    })
}